how to use for loop in shell script